import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    takeaway: "http://localhost:8081/",
    getImage: "http://localhost:8081/getImage/",
    userId: "",
  },
  mutations: {
    setUserId(state,userId){
      state.userId = userId;
    }
  },
  actions: {
  },
  modules: {
  }
})
